package vy.org.app.common;

import java.util.ResourceBundle;

public class ModuleEnum extends BaseEnum {

	public static final ModuleEnum HOME = new ModuleEnum(0, "HOME","/Home.do?mn=1");

	public static final ModuleEnum ADD_MEMBER = new ModuleEnum(100, "ADD_MEMBER","./addmember.do");
	public static final ModuleEnum EDIT_MEMBER = new ModuleEnum(110, "EDIT_MEMBER","./editmember.do");
	public static final ModuleEnum DELETE_MEMBER = new ModuleEnum(120, "DELETE_MEMBER","./deletemember.do");

	public static final ModuleEnum ADD_VIDHYARTHI = new ModuleEnum(200, "ADD_VIDHYARTHI","/addvidhyarthi.do");
	public static final ModuleEnum EDIT_VIDHYARTHI = new ModuleEnum(210, "EDIT_VIDHYARTHI","/editvidhyarthi.do");
	public static final ModuleEnum DELETE_VIDHYARTHI = new ModuleEnum(220, "DELETE_VIDHYARTHI","/deletevidhyarthi.do");

	public static final ModuleEnum ADD_EMPLOYEE = new ModuleEnum(300, "ADD_EMPLOYEE","/addemployee.do");
	public static final ModuleEnum EDIT_EMPLOYEE = new ModuleEnum(310, "EDIT_EMPLOYEE","/editemployee.do");
	public static final ModuleEnum DELETE_EMPLOYEE = new ModuleEnum(320, "DELETE_EMPLOYEE","/deleteemployee.do");
	
	public static final ModuleEnum ADD_SANTSAMAJ = new ModuleEnum(400, "ADD_SANTSAMAJ","/addsantsamaj.do");
	public static final ModuleEnum EDIT_SANTSAMAJ = new ModuleEnum(410, "EDIT_SANTSAMAJ","/editsantsamaj.do");
	public static final ModuleEnum DELETE_SANTSAMAJ = new ModuleEnum(420, "DELETE_SANTSAMAJ","/deletesantsamaj.do");

	public static final ModuleEnum ADD_SATSANG = new ModuleEnum(500, "ADD_SATSANG","/addsatsang.do");
	public static final ModuleEnum EDIT_SATSANG = new ModuleEnum(510, "EDIT_SATSANG","/editsatsang.do");
	public static final ModuleEnum DELETE_SATSANG = new ModuleEnum(520, "DELETE_SATSANG","/deletesatsang.do");

	public static final ModuleEnum ADD_ASHRAM = new ModuleEnum(600, "ADD_ASHRAM","/addashram.do");
	public static final ModuleEnum EDIT_ASHRAM = new ModuleEnum(610, "EDIT_ASHRAM","/editashram.do");
	public static final ModuleEnum DELETE_ASHRAM = new ModuleEnum(620, "DELETE_ASHRAM","/deleteashram.do");

	public static final ModuleEnum ADD_SUBSCRIPTION = new ModuleEnum(700, "ADD_SUBSCRIPTION","/addsubscription.do");
	public static final ModuleEnum EDIT_SUBSCRIPTION = new ModuleEnum(710, "EDIT_SUBSCRIPTION","/editsubscription.do");
	public static final ModuleEnum DELETE_SUBSCRIPTION = new ModuleEnum(720, "DELETE_SUBSCRIPTION","/deletesubscription.do");

	public static final ModuleEnum ADD_PATRA = new ModuleEnum(800, "ADD_PATRA","/addsubscription.do");
	public static final ModuleEnum EDIT_PATRA = new ModuleEnum(810, "EDIT_PATRA","/editsubscription.do");
	public static final ModuleEnum DELETE_PATRA = new ModuleEnum(820, "DELETE_PATRA","/deletesubscription.do");

	public static final ModuleEnum MAINTAIN_DESIGNATION = new ModuleEnum(10001, "MAINTAIN_DESIGNATION","/mntndesignation.do");
	public static final ModuleEnum MAINTAIN_RESPONSIBILITIES = new ModuleEnum(10002, "MAINTAIN_RESPONSIBILITIES","/mntnresponsibilities.do");
	public static final ModuleEnum MAINTAIN_CITIES = new ModuleEnum(10003, "MAINTAIN_CITIES","/mntncities.do");
	public static final ModuleEnum MAINTAIN_RELIGION = new ModuleEnum(10004, "MAINTAIN_RELIGION","/mntnreligion.do");
	public static final ModuleEnum MAINTAIN_PROFESSION = new ModuleEnum(10005, "MAINTAIN_PROFESSION","/mntnprofession.do");
	public static final ModuleEnum MAINTAIN_QUALIFICATION = new ModuleEnum(10006, "MAINTAIN_QUALIFICATION","/mntnqualification.do");
	public static final ModuleEnum MAINTAIN_DELIVERY_MODE = new ModuleEnum(10007, "MAINTAIN_DELIVERY_MODE","/mntndeliverymode.do");
	public static final ModuleEnum MAINTAIN_PATRIKA = new ModuleEnum(10008, "MAINTAIN_PATRIKA","/mntnpatrika.do");
	public static final ModuleEnum BULK_UPLOAD = new ModuleEnum(10009, "BULK_UPLOAD","/FileUpload.do");
	
	public static final ModuleEnum MAINTAIN_USER = new ModuleEnum(20001, "MAINTAIN_USER","/mntnuser.do");
	public static final ModuleEnum MAINTAIN_GROUP = new ModuleEnum(20002, "MAINTAIN_GROUP","/mntngroup.do");
	public static final ModuleEnum MAINTAIN_MODULES = new ModuleEnum(20003, "MAINTAIN_MODULES","/mntnmodules.do");

	public static final ModuleEnum SEARCH_MEMBER = new ModuleEnum(10, "SEARCH_MEMBER","/mntnmember.do");
	public static final ModuleEnum SEARCH_VIDHYARTHI = new ModuleEnum(11, "SEARCH_VIDHYARTHI","/mntnvidhyarthi.do");
	public static final ModuleEnum SEARCH_SATSANG = new ModuleEnum(13, "SEARCH_SATSANG","/mntnsatsang.do");
	public static final ModuleEnum SEARCH_SANTSAMAJ = new ModuleEnum(12, "SEARCH_SANTSAMAJ","/mntnsantsamaj.do");
	public static final ModuleEnum SEARCH_ASHRAM = new ModuleEnum(14, "SEARCH_ASHRAM","/mntnashram.do");
	public static final ModuleEnum SEARCH_EMPLOYEE = new ModuleEnum(15, "SEARCH_EMPLOYEE","/mntnemployee.do");
	public static final ModuleEnum SEARCH_PATRA = new ModuleEnum(16, "SEARCH_PATRA","/mntnpatra.do");
	public static final ModuleEnum SEARCH_SUBSCRIPTION = new ModuleEnum(17, "SEARCH_SUBSCRIPTION","/mntnmagazinesubscription.do");
	public static final ModuleEnum ADVANCE_SEARCH = new ModuleEnum(18, "ADVANCE_SEARCH","/advsearch.do");
	
	public static final ModuleEnum ADD_GROUP_PRINT_LABEL = new ModuleEnum(1000, "ADD_GROUP_PRINT_LABEL", "/addGroupPrintLabel.do");
	public static final ModuleEnum MODIFY_PRINT_GROUP = new ModuleEnum(19, "MODIFY_PRINT_GROUP", "/modifyGroupPrintLabel.do");
	public static final ModuleEnum SAVE_GROUP_PRINT_LABEL = new ModuleEnum(1002, "SAVE_GROUP_PRINT_LABEL", "/saveGroupPrintLabel.do");
	public static final ModuleEnum DELETE_GROUP_PRINT_LABEL = new ModuleEnum(1003, "DELETE_GROUP_PRINT_LABEL", "/deleteGroupPrintLabel.do");
	
	public static final ModuleEnum MNTN_PRINT_LABEL_REPORT = new ModuleEnum(20, "MNTN_PRINT_LABEL_REPORT", "/mntnPrintLabelReportSchedule.do");
	public static final ModuleEnum RUN_PRINT_LABEL_REPORT = new ModuleEnum(21, "RUN_PRINT_LABEL_REPORT", "/runPrintLabelReportInsance.do");

	
	ModuleEnum(int id){
		super(id);
	}

	ModuleEnum(int id, String name){
		super(id, name);
	}

	ModuleEnum(int id, String name, String url){
		super(id, name);
		this.url = url;
	}

	public String getUrl() {
		return url;
	}

	public String getDisplayName() {
		return RESOURCE.getString(getName());
	}

	private String url;

	private static final ResourceBundle RESOURCE = ResourceBundle.getBundle("ModuleResource");
	
}
